package constant

import (
	"github.com/lab-online/pkg/gen"
	"github.com/lab-online/pkg/resp"
)

const (
	baseSuccessCode         = resp.CodeSuccess + domainCode
	CodeExecuting           = baseSuccessCode + 0
	CodeUploadURLGenSuccess = baseSuccessCode + 1
)

func SuccessCodeMap() gen.CodeMap {
	return gen.CodeMap{
		"MimoDecode": {
			CodeExecuting: "已开始实验",
		},
		"MimoPlot": {
			CodeExecuting: "已开始实验",
		},
		"GetUploadURL": {
			CodeUploadURLGenSuccess: "生成上传链接成功",
		},
	}
}
